package com.hectopascal.goalance.service.Ipml;

import com.hectopascal.goalance.pojo.Notification;
import com.hectopascal.goalance.pojo.dto.NotificationBack;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface INotificationService {
    List<NotificationBack> getNotification(Integer id);

    List<NotificationBack> getSendNotification(Integer userId);

    int isRead(Integer id);

    int sendNotification(Notification notification,Integer target);

    int deleteNotification(Integer id);

    List<NotificationBack> getUnreadNotification(Integer userId);
}
